package com.lmx.repoDomain.tmodel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import io.katharsis.resource.annotations.JsonApiResource;

/**
 * 
 */
@Entity
@Table(name = "tnb_tenant_b")
@JsonApiResource(type = "tenant_b")
public class BusinessEntity extends BaseEntity {
	private String desc; // 描述
	private String name; // 名称
	private Short type; // 客户类型

	@Column(name = "descr")
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "type")
	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}

}
